//
//  ZDBaseViewController.m
//  1012GiftTips
//
//  Created by Apple on 15/10/12.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import "ZDBaseViewController.h"
#import "ZDSearchViewController.h"

@interface ZDBaseViewController ()


@end

@implementation ZDBaseViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Feed_SearchBtn"] style:UIBarButtonItemStyleDone target:self action:@selector(searchBtnClick)];

}


- (void)searchBtnClick
{
    ZDSearchViewController *searchVc = [[ZDSearchViewController alloc] init];
    
    [self.navigationController pushViewController:searchVc animated:YES];
}






@end
